package com.ym.user.entity;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@ApiModel(value = "用户实体-实体类",description="描述：小程序端用户")
public class UserEntity {

    @ApiModelProperty(value = "用户id主键(32位UUID)",hidden = false,example = "")
    private String id;

    @ApiModelProperty(value = "用户名称",hidden = false,example = "")
    private String userName;

    @ApiModelProperty(value = "用户昵称",hidden = false,example = "")
    private String nickName;

    @ApiModelProperty(value = "用户真实姓名",hidden = false,example = "")
    private String realName;

    @ApiModelProperty(value = "用户性别：true 男 ，false 女",hidden = false,example = "")
    private Boolean gender;

    @ApiModelProperty(value = "用户手机号",hidden = false,example = "")
    private String phoneNumber;
    @ApiModelProperty(value = "所属国家",hidden = false,example = "")
    private String country;
    @ApiModelProperty(value = "所属省份",hidden = false,example = "")
    private String province;
    @ApiModelProperty(value = "所属城市",hidden = false,example = "")
    private String city;
    @ApiModelProperty(value = "所属地区",hidden = false,example = "")
    private String area;
    @ApiModelProperty(value = "密码",hidden = false,example = "")
    private String password;
    @ApiModelProperty(value = "盐值",hidden = false,example = "")
    private String salt;
    @ApiModelProperty(value = "用户头像URL",hidden = false,example = "")
    private String avatarUrl;
    @ApiModelProperty(value = "注册日期",hidden = false,example = "")
    private Date registerDate;
    @ApiModelProperty(value = "最后登陆时间",hidden = false,example = "")
    private Date lastLogin;
    @ApiModelProperty(value = "状态",hidden = false,example = "")
    private Integer state;
    @ApiModelProperty(value = "用户累计积分",hidden = false,example = "")
    private BigDecimal point;
    @ApiModelProperty(value = "标记核销用户",hidden = false,example = "")
    private Integer isCheckUser;
    @ApiModelProperty(value = "详细地址",hidden = false,example = "")
    private String address;
}